package com.jhgsys.internal.system.dto;

import com.jhgsys.internal.system.entity.Tenant;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.ArrayList;
import java.util.HashSet;
import java.util.List;
import java.util.Set;

/**
 * @className TenantDto
 * @description 租户表Dto
 * @author DingHaiTao
 * @date: 2024/7/17 15:25
*/
@Data
public class TenantDto extends Tenant {

    @Schema(description = "用户id")
    private String userId;

    @Schema(description = "用户名称")
    private String userName;

    @Schema(description = "结束时间")
    private String createTimeTo;

    @Schema(description = "起始时间")
    private String createTimeFrom;

    @Schema(description = "达标有效期（应急）")
    private String reachDateString;

    @Schema(description = "达标有效期（交通）")
    private String trafficReachDateString;

    @Schema(description = "公司分类名称")
    private String tenantTypeName;

    @Schema(description = "上级公司名称")
    private String parentName;

    private Set<String> tenantIds = new HashSet<>();

}
